<div id="content">
<div id="box">
<h3 class="title">返现申请</h3>
<table width="100%" class="admin-table">
<thead>
	<tr>
    	<th>ID</th>
    	<th>用户名</th>
        <th>金额</th>
        <th>支付宝账号</th>
        <th>申请时间</th>
        <th>审核时间</th>
        <th>状态</th>
    	<th>操作</th>
    </tr>
</thead>
<tbody>
	{if !empty($this->data['data']['rows'])}
	<!--{loop $this->data['data']['rows'] $item}-->
	<tr>
    	<td>{$item['id']}</td> 
		<td>{$item['user']['username']}</td> 
		<td >{$item['money']}</td> 
		<td >{$item['alipay_account']}</td>
		<td >{$item['created']}</td>
		<td >{$item['check_time']}</td>
		<td >{if $item['status']==0}未处理{/if}{if $item['status']==1}已返现{/if}</td>
		<td >{if $item['status']==0}<a href="javascript:checkReturn({$item['id']},1)">设置为已返现</a>{/if}</td> 
    </tr>
    <!--{/loop}-->
    {/if}
</tbody>
</table>
<input type="hidden" id="hdHideUrl" value="{url('Return','Check')}" />
<div id="pager">
{$this->data['pages']}
</div>
</div>
</div>